makeanim $1 $2
i=0
files=
while test -r $2_$i.dat
do
	pvray -i$2_$i.dat -o$2_$i -l../ +a -q9 +fr -w320 -h200 -c
	times
	files="$files $2_$i"
	i="`expr $i + 1`"
done
heckbert -s=0 $files
rm $2*.dat $2*.red $2*.grn $2*.blu
animgif $2_0 $1
rm $2_0.*
times
